<script src="traceur.js"></script>
<script src="bootstrap.js"></script>


<script type="module">
     //es6模块化： 导入 导出   import 导入
    import { num,text,Hello}  from "./modules/mian/modules1.js"
    import * as obj  from "./modules/mian/modules1.js"

    console.log(num);
    console.log(text());
    console.log(new Hello("jack",18).showAge());
    
    console.log(obj.num);
        console.log(obj.text());
        console.log(new obj.Hello("jack",20).showAge());

</script>


<script type="module">
    // 导入  import
    import M  from './modules/mian/modules2.js'

    console.log(M);
    console.log(M.num);
    console.log(M.test());
    console.log(new M.Hello("jack",19).showAge());
    


</script>